#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
/*int main()
{
	int ch = getchar();
	putchar(ch);
	return 0;

}*/
/*int max(int x, int y) {
	
	 return (x > y ? x : y);
	
}
int main()
 {
	int a, b, c, d; int z = 0; int e = 0; int f = 0;
	scanf("%d %d %d %d", &a, &b,&c,&d);
	z = max(a, b);
	e = max(z, c);
	f = max(e, d);
	printf("%d\n", z);
		return 0;



	
}*/
/*int main()
{
	char a;
	while (scanf("%c", &a) == 1)
	{
		if (a > 'a' && a < 'z')
		{
			a += 32; printf("%c\n", a);
		}
		else if (a >= 'a' && a <= 'z')
		{

			a -= 32;

			printf("%c\n", a);

		}
		

	}
}*/
/*int main() {
	char a;
	int n = 0;
	while (scanf("%c", &a) ==1) {
		if (a >= 97 && a <= 112) {
			a-= 32;
			printf("%c\n", a);
		}
		else if (a >= 'A' && a <= 'Z') {
			a += 32;
			printf("%c\n", a);
		}

	}
	return 0;
}
*/

#include<stdio.h>
int main() {
	char a;
	while ((a = getchar()) != EOF) {
		if (('a' <= a && a <= 'z') || ('A' <= a && a <= 'Z')) {
			printf("%c is an alphabet.\n", a);
		}
		else {
			printf("%c is not an alphabet.\n", a);
		}
		getchar();
	}
}

